package com.groovy.learning

class Step3 {

	//nouvelle boucle for
	public static void main (String [] args){
		
	println "Somme des 10 premiers entiers"
		
		int total = 0
		for(i in 0..9){
			total += i
		}
		
	println "Le resultat de la somme des 10 premiers entiers est:$total"
	}
}
